Optimal. Leaf size=217 \[ \frac {163 \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )}{16 \sqrt {2} a^{5/2} d}+\frac {95 \sin (c+d x)}{48 a^2 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}-\frac {299 \sin (c+d x)}{48 a^2 d \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}-\frac {17 \sin (c+d x)}{16 a d \cos ^{\frac {3}{2}}(c+d x) (a \cos (c+d x)+a)^{3/2}}-\frac {\sin (c+d x)}{4 d \cos ^{\frac {3}{2}}(c+d x) (a \cos (c+d x)+a)^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.55, antiderivative size = 217, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {2766, 2978, 2984, 12, 2782, 205} \[ \frac {95 \sin (c+d x)}{48 a^2 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}-\frac {299 \sin (c+d x)}{48 a^2 d \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}+\frac {163 \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )}{16 \sqrt {2} a^{5/2} d}-\frac {17 \sin (c+d x)}{16 a d \cos ^{\frac {3}{2}}(c+d x) (a \cos (c+d x)+a)^{3/2}}-\frac {\sin (c+d x)}{4 d \cos ^{\frac {3}{2}}(c+d x) (a \cos (c+d x)+a)^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 205
Rule 2766
Rule 2782
Rule 2978
Rule 2984
Rubi steps
\begin {align*} \int \frac {1}{\cos ^{\frac {5}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}} \, dx &=-\frac {\sin (c+d x)}{4 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}}+\frac {\int \frac {\frac {11 a}{2}-3 a \cos (c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (a+a \cos (c+d x))^{3/2}} \, dx}{4 a^2}\\ &=-\frac {\sin (c+d x)}{4 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}}-\frac {17 \sin (c+d x)}{16 a d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{3/2}}+\frac {\int \frac {\frac {95 a^2}{4}-17 a^2 \cos (c+d x)}{\cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}} \, dx}{8 a^4}\\ &=-\frac {\sin (c+d x)}{4 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}}-\frac {17 \sin (c+d x)}{16 a d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{3/2}}+\frac {95 \sin (c+d x)}{48 a^2 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {\int \frac {-\frac {299 a^3}{8}+\frac {95}{4} a^3 \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}} \, dx}{12 a^5}\\ &=-\frac {\sin (c+d x)}{4 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}}-\frac {17 \sin (c+d x)}{16 a d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{3/2}}+\frac {95 \sin (c+d x)}{48 a^2 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}-\frac {299 \sin (c+d x)}{48 a^2 d \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}+\frac {\int \frac {489 a^4}{16 \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{6 a^6}\\ &=-\frac {\sin (c+d x)}{4 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}}-\frac {17 \sin (c+d x)}{16 a d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{3/2}}+\frac {95 \sin (c+d x)}{48 a^2 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}-\frac {299 \sin (c+d x)}{48 a^2 d \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}+\frac {163 \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{32 a^2}\\ &=-\frac {\sin (c+d x)}{4 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}}-\frac {17 \sin (c+d x)}{16 a d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{3/2}}+\frac {95 \sin (c+d x)}{48 a^2 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}-\frac {299 \sin (c+d x)}{48 a^2 d \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}-\frac {163 \operatorname {Subst}\left (\int \frac {1}{2 a^2+a x^2} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right )}{16 a d}\\ &=\frac {163 \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right )}{16 \sqrt {2} a^{5/2} d}-\frac {\sin (c+d x)}{4 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}}-\frac {17 \sin (c+d x)}{16 a d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{3/2}}+\frac {95 \sin (c+d x)}{48 a^2 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}-\frac {299 \sin (c+d x)}{48 a^2 d \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 10.79, size = 639, normalized size = 2.94 \[ -\frac {\cot ^5\left (\frac {c}{2}+\frac {d x}{2}\right ) \csc ^4\left (\frac {c}{2}+\frac {d x}{2}\right ) \sec ^4\left (\frac {1}{2} (c+d x)\right ) \left (640 \sin ^{12}\left (\frac {c}{2}+\frac {d x}{2}\right ) \cos ^8\left (\frac {1}{2} (c+d x)\right ) \, _5F_4\left (2,2,2,2,\frac {7}{2};1,1,1,\frac {13}{2};\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1}\right )-1280 \left (5 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-6\right ) \sin ^{12}\left (\frac {c}{2}+\frac {d x}{2}\right ) \cos ^6\left (\frac {1}{2} (c+d x)\right ) \, _4F_3\left (2,2,2,\frac {7}{2};1,1,\frac {13}{2};\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1}\right )+33 \left (1-2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )\right )^3 \sqrt {\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1}} \left (\sqrt {\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1}} \left (4344400 \sin ^{14}\left (\frac {c}{2}+\frac {d x}{2}\right )-26448512 \sin ^{12}\left (\frac {c}{2}+\frac {d x}{2}\right )+68243596 \sin ^{10}\left (\frac {c}{2}+\frac {d x}{2}\right )-96281836 \sin ^8\left (\frac {c}{2}+\frac {d x}{2}\right )+79946462 \sin ^6\left (\frac {c}{2}+\frac {d x}{2}\right )-38990350 \sin ^4\left (\frac {c}{2}+\frac {d x}{2}\right )+10333785 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1148175\right )-105 \left (33208 \sin ^{10}\left (\frac {c}{2}+\frac {d x}{2}\right )-140732 \sin ^8\left (\frac {c}{2}+\frac {d x}{2}\right )+234156 \sin ^6\left (\frac {c}{2}+\frac {d x}{2}\right )-188110 \sin ^4\left (\frac {c}{2}+\frac {d x}{2}\right )+72902 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-10935\right ) \cos ^4\left (\frac {1}{2} (c+d x)\right ) \tanh ^{-1}\left (\sqrt {\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1}}\right )\right )\right )}{41580 d \left (1-2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )\right )^{7/2} (a (\cos (c+d x)+1))^{5/2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.78, size = 219, normalized size = 1.01 \[ \frac {489 \, \sqrt {2} {\left (\cos \left (d x + c\right )^{5} + 3 \, \cos \left (d x + c\right )^{4} + 3 \, \cos \left (d x + c\right )^{3} + \cos \left (d x + c\right )^{2}\right )} \sqrt {a} \arctan \left (\frac {\sqrt {2} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {a} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{2 \, {\left (a \cos \left (d x + c\right )^{2} + a \cos \left (d x + c\right )\right )}}\right ) - 2 \, {\left (299 \, \cos \left (d x + c\right )^{3} + 503 \, \cos \left (d x + c\right )^{2} + 160 \, \cos \left (d x + c\right ) - 32\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{96 \, {\left (a^{3} d \cos \left (d x + c\right )^{5} + 3 \, a^{3} d \cos \left (d x + c\right )^{4} + 3 \, a^{3} d \cos \left (d x + c\right )^{3} + a^{3} d \cos \left (d x + c\right )^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (a \cos \left (d x + c\right ) + a\right )}^{\frac {5}{2}} \cos \left (d x + c\right )^{\frac {5}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.19, size = 377, normalized size = 1.74 \[ \frac {\left (489 \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \left (\cos ^{4}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {5}{2}}+1956 \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {5}{2}} \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \left (\cos ^{3}\left (d x +c \right )\right ) \sin \left (d x +c \right )+2934 \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {5}{2}} \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )+1956 \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {5}{2}} \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \cos \left (d x +c \right ) \sin \left (d x +c \right )+489 \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {5}{2}} \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \sin \left (d x +c \right )-299 \sqrt {2}\, \left (\cos ^{5}\left (d x +c \right )\right )-204 \left (\cos ^{4}\left (d x +c \right )\right ) \sqrt {2}+343 \left (\cos ^{3}\left (d x +c \right )\right ) \sqrt {2}+192 \left (\cos ^{2}\left (d x +c \right )\right ) \sqrt {2}-32 \cos \left (d x +c \right ) \sqrt {2}\right ) \sin \left (d x +c \right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, \sqrt {2}}{96 d \left (-1+\cos \left (d x +c \right )\right ) \left (1+\cos \left (d x +c \right )\right )^{3} \cos \left (d x +c \right )^{\frac {5}{2}} a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {1}{{\cos \left (c+d\,x\right )}^{5/2}\,{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{5/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________